package com.example.demo.service;

import com.example.demo.dao.OOO;
import com.example.demo.entity.RRRRR;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class EEE {

    @Autowired
    private OOO ooo;
    public String resourceMapList(){
        List<RRRRR> result = ooo.resourceMapList();
        return result.get(0).getIdEEE()+" "+result.get(0).getClassCodeFFF()+" "+result.get(0).getResourceNameDDDD();
    }
}
